package com.flame.auth.core.constants;

/**
 * AuthConstants
 *
 * @author wuxintong
 * @since 2022/12/28
 */
public final class AuthConstants {

    public static final String TOKEN_HEADER = "Authorization";

    public static final String OBJ_TYPE_USER = "0";

    public static final String OBJ_TYPE_ROLE = "1";

    public static final String DATA_TYPE_USER = "0";

    public static final String DATA_TYPE_USER_ALL = "all";

    public static final String DATA_TYPE_ORG = "1";

    public static final String DATA_SCOPE_USER_ALL = "1";

    public static final String DATA_SCOPE_ORG_ALL = "1";

    public static final String SALT = "WXTyyds97";

    public static final String LOGIN_SUCCESS = "0";

    public static final String LOGIN_FAILURE_ACCOUNT_NOT_EXIST = "1";

    public static final String LOGIN_FAILURE_ACCOUNT_STATUS_CANCEL = "2";

    public static final String LOGIN_FAILURE_ACCOUNT_STATUS_FREEZE = "3";

    public static final String LOGIN_FAILURE_ACCOUNT_STATUS_LOCK = "4";

    public static final String TRUSTED_PRINCIPAL = "TrustedPrincipal";

    private AuthConstants() {
    }
}
